﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
<%@ Import Namespace="CRM.Database.Model" %>



<% var col = new EquipmentsCollection(); %>

<% Html.DevExpress().DropDownEdit(settings =>
                                        {
                                            settings.Name = "ddeEquipment";
                                            if (ViewData["ddeEquipmentValue"] != null)
                                                settings.Text = ViewData["ddeEquipmentValue"].ToString();
                                            settings.SetDropDownWindowTemplateContent(c =>
                                                                                          {

                                                                                                  Html.RenderPartial("EquipmentList",col.EquipmentsList);
                                                                                              

                                                                                          });
                                            settings.Properties.EnableAnimation = true;
                                        }).GetHtml();%>

